import axios from 'axios'
import qs from 'qs'
// 主机域名
const baseUrl = 'http://www.yzsearch.xyz'
// redis功能url
let baseUrlQoute = 'http://49.233.164.24:9096/web/redis'
// 查询单个redisKey的值
export const getKeyValue = params => {
    return axios.get(`${baseUrl}/redis/rget`, qs.stringify(params))
}
// 遍历redis的Key列表
export const getKeyList = params => {
    return axios.get(`${baseUrlQoute}/r-ergodic`, params)
}